package upload;

import download.DownloadEngine;
import download.DownloadInfoBean;

public class TestDown
{

	public TestDown()
	{
		try
		{
			DownloadInfoBean bean = new DownloadInfoBean("http://127.0.0.1:8080/FileServer/file/HA_Notepad2_v2018.rar", "c:/temp", "HA_Notepad2_v2018.rar", 5);
			DownloadEngine fileFetch = new DownloadEngine(bean,null);
			fileFetch.start();
		}
		catch (Exception e)
		{
			e.printStackTrace();
		}

	}

	public static void main(String[] args)
	{
		new TestDown();
	}
}
